package scomA2Proj;

import System.Diagnostics.Stopwatch;

public class OrderReciept {
	private static int _orderNum = 0;
	public Stopwatch _stopwatch;
	public int _orderNumber;
	public int _ordererID;
	public int _amount;
	public decimal _pricePerChicken;
	public decimal _taxRate;
	public decimal _shippingCostPerChicken;
	public scomA2Proj.OrderReciept.OrderResult _result;
	/**
	 * Derived Quantities
	 */
	public decimal _total;
	public decimal _subtotal;
	public decimal _taxTotal;
	public decimal _shippingTotal;

	/**
	 * &lt;summary&gt;
	 * Constructor for Order receipt. 
	 * &lt;/summary&gt;
	 * &lt;param name="dt"&gt;The order date time&lt;/param&gt;
	 * &lt;param name="ordererID"&gt;The orderer's id&lt;/param&gt;
	 * &lt;param name="amount"&gt;Number of chickens&lt;/param&gt;
	 * &lt;param name="pricePerChicken"&gt;Price per chicken.&lt;/param&gt;
	 * &lt;param name="taxRate"&gt;Tax rate, eg .09 is 9%&lt;/param&gt;
	 * &lt;param name="shippingCostPerChicken"&gt;The cost of shipping per chicken.&lt;/param&gt;
	 */
	public OrderReciept(Stopwatch aStopwatch, int aOrdererID, int aAmount, decimal aPricePerChicken, decimal aTaxRate, decimal aShippingCostPerChicken, scomA2Proj.OrderReciept.OrderResult aOResult) {
		throw new UnsupportedOperationException();
	}

	/**
	 * &lt;summary&gt;
	 * Returns the receipt info human readable format.
	 * &lt;/summary&gt;
	 * &lt;returns&gt;&lt;/returns&gt;
	 */
	public String ToString() {
		throw new UnsupportedOperationException();
	}

	public void setOrderNumber(int aOrderNumber) {
		this._orderNumber = aOrderNumber;
	}

	public int getOrderNumber() {
		return this._orderNumber;
	}

	public void setOrdererID(int aOrdererID) {
		this._ordererID = aOrdererID;
	}

	public int getOrdererID() {
		return this._ordererID;
	}

	public void setAmount(int aAmount) {
		this._amount = aAmount;
	}

	public int getAmount() {
		return this._amount;
	}

	public void setPricePerChicken(decimal aPricePerChicken) {
		this._pricePerChicken = aPricePerChicken;
	}

	public decimal getPricePerChicken() {
		return this._pricePerChicken;
	}

	public void setTaxRate(decimal aTaxRate) {
		this._taxRate = aTaxRate;
	}

	public decimal getTaxRate() {
		return this._taxRate;
	}

	public void setShippingCostPerChicken(decimal aShippingCostPerChicken) {
		this._shippingCostPerChicken = aShippingCostPerChicken;
	}

	public decimal getShippingCostPerChicken() {
		return this._shippingCostPerChicken;
	}

	public void setResult(scomA2Proj.OrderReciept.OrderResult aResult) {
		this._result = aResult;
	}

	public scomA2Proj.OrderReciept.OrderResult getResult() {
		return this._result;
	}

	public decimal getTotal() {
		return this._total;
	}

	public decimal getSubtotal() {
		return this._subtotal;
	}

	public decimal getTaxTotal() {
		return this._taxTotal;
	}

	public decimal getShippingTotal() {
		return this._shippingTotal;
	}
	public enum OrderResult {
		public final Object _success;
		public final Object _failCC;
		public OrderReciept _unnamed_OrderReciept_;
	}
}